package com.yidu.InventoryManagement.entity;

/**
 * @author 梁俊
 * 证券库存实体类
 * @date 2022/12/5
 * &@version 1.0
 */

public class SecurityStock {
   private String securityStockId;// 债券库存id 主键 备注：添加id时最好写成工具类，自动生成id，SS20220622001
    private String fundId;//基金id 外键 备注：基金代码都是6位数的 如：614587
    private String date;//统计日期
    private String securityId;// 证券id 外键 备注：证券Id  624415
    private int quantity;// 数量
    private int unitCost;//单位成本
    private int money;// 总成本
    private int initialState;//初期标识 备注：1为是，2为否
    private String Remark;// 备注
    private String securityName;//证券名称

    public String toString(){
        return securityStockId +" "+fundId+" "+date+" "+securityId+" "+quantity+" "+unitCost+" "+money+" "+initialState+" "+Remark;
    }

    public String getSecurityName() {
        return securityName;
    }

    public void setSecurityName(String securityName) {
        this.securityName = securityName;
    }

    public String getSecurityStockId() {
        return securityStockId;
    }

    public void setSecurityStockId(String securityStockId) {
        this.securityStockId = securityStockId;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getSecurityId() {
        return securityId;
    }

    public void setSecurityId(String securityId) {
        this.securityId = securityId;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getUnitCost() {
        return unitCost;
    }

    public void setUnitCost(int unitCost) {
        this.unitCost = unitCost;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public int getInitialState() {
        return initialState;
    }

    public void setInitialState(int initialState) {
        this.initialState = initialState;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }


    public SecurityStock(String securityStockId, String fundId, String date, String securityId, int quantity, int unitCost, int money, int initialState, String remark) {
        this.securityStockId = securityStockId;
        this.fundId = fundId;
        this.date = date;
        this.securityId = securityId;
        this.quantity = quantity;
        this.unitCost = unitCost;
        this.money = money;
        this.initialState = initialState;
        Remark = remark;
    }

    public SecurityStock(){

    }
}

